package com.fs.service.bo.price;

import com.fs.entity.Price;
import com.fs.entity.Room;
import com.fs.service.bo.room.BoRoom;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalTime;

@Data
@NoArgsConstructor
public class BoPrice {
    private Integer id;
    private Float price;

    private LocalTime beginTime;
    private LocalTime endTime;

    public BoPrice(Price p){
        this.id=p.getId();
        this.price=p.getPrice();
        this.beginTime=p.getBeginTime();
        this.endTime=p.getEndTime();
    }
}
